package com.v1.lo;

import java.util.List;

import org.apache.struts.util.LabelValueBean;
import org.springframework.stereotype.Service;

import com.v1.model.Item;

@Service("ItemLO")
public class ItemLO extends BaseLO {

	@SuppressWarnings("unchecked")
	public List<Item> getSameTagItemByTag(String tag) {
		return sqlMapClient.queryForList("com.v1.model.Item.getSameTagItemByTag", tag);
	}

	@SuppressWarnings("unchecked")
	public List<LabelValueBean> getItemDetails(Item model) {
		return sqlMapClient.queryForList(Statement.Item_llk_getItemDetails.toString(), model);
	}

}
